<!DOCTYPE html>
<html lang="en">


<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>产品列表页面</title>
    <!--可选，字体-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
    <!--Bootstrap Stylesheet [ 必须的 ]-->
    <link href="../../../css/bootstrap.min.css" rel="stylesheet">
    <!--Nifty Stylesheet [ 必须的 ]-->
    <link href="../../../css/nifty.min.css" rel="stylesheet">
    <!--Nifty Premium Icon [ demo用到的icon css ]-->
    <link href="../../../css/demo/nifty-demo-icons.min.css" rel="stylesheet">
    <!--=================================================-->

    <!--Pace - 页面加载进度条 [可选]-->
    <link href="../../../plugins/pace/pace.min.css" rel="stylesheet">
    <script src="../../../plugins/pace/pace.min.js"></script>
    <!--Demo [ demo用到的css ]-->
    <link href="../../../css/demo/nifty-demo.min.css" rel="stylesheet">

</head>

<!--TIPS-->
<body>
<div id="container" class="effect aside-float aside-bright mainnav-lg">

    <!--NAVBAR-->
    <!--===头部分==-->
    <navbar></navbar>
    <!--===================================================-->
    <!--END NAVBAR-->

    <div class="boxed">

        <!--CONTENT CONTAINER-->
        <!--===================================================-->
        <div id="content-container">
            <!--Page content-->
            <!--=========内容体区域========================-->
            <div id="page-content">
                <div class="panel">
                    <!--Panel heading-->
                    <div class="panel-heading">
                        <div class="panel-control">
                            <button class="btn btn-default" data-panel="minmax" data-target="#panel-collapse-20b2"
                                    data-toggle="collapse" aria-expanded="true">
                                <i class="demo-psi-chevron-up"></i>
                            </button>
                        </div>
                        <h3 class="panel-title">筛选</h3>
                    </div>
                    <div class="panel">
                        <!--Block Styled Form -->
                        <!--===================================================-->
                        <div class="panel-body" style="padding-bottom: 5px;">
                            <div class="row">
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="control-label">产品名称</label>
                                        <input type="text" class="form-control">
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="control-label">产品状态</label>
                                        <div class="checkbox">
                                            <!-- Inline Checkboxes -->
                                            <input id="demo-form-inline-checkbox" class="magic-checkbox"
                                                   type="checkbox" checked="">
                                            <label for="demo-form-inline-checkbox">草稿</label>
                                            <input id="demo-form-inline-checkbox-2" class="magic-checkbox"
                                                   type="checkbox">
                                            <label for="demo-form-inline-checkbox-2">审核通过</label>
                                            <input id="demo-form-inline-checkbox-3" class="magic-checkbox"
                                                   type="checkbox">
                                            <label for="demo-form-inline-checkbox-3">审批失败</label>
                                            <input id="demo-form-inline-checkbox-4" class="magic-checkbox"
                                                   type="checkbox">
                                            <label for="demo-form-inline-checkbox-4">作废</label>
                                            <input id="demo-form-inline-checkbox-5" class="magic-checkbox"
                                                   type="checkbox">
                                            <label for="demo-form-inline-checkbox-5">发布</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="control-label">产品类型</label>
                                        <input type="text" class="form-control">
                                    </div>
                                </div>
                                <div class="col-sm-3">
                                    <div class="form-group">
                                        <label class="control-label">产品终端类型</label>
                                        <input type="url" class="form-control">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--===================================================-->
                        <!--End Block Styled Form -->
                    </div>
                    <!--Panel body-->
                    <div class="collapse" id="panel-collapse-20b2" aria-expanded="false">
                        <div class="panel">
                            <!--Block Styled Form -->
                            <!--===================================================-->
                            <div class="panel-body">
                                <div class="row">
                                    <div class="col-sm-3">
                                        <div class="form-group">
                                            <label class="control-label">业务流程名称</label>
                                            <input type="text" class="form-control">
                                        </div>
                                    </div>
                                    <div class="col-sm-3">
                                        <div class="form-group">
                                            <label class="control-label">业务流程状态</label>
                                            <div class="checkbox">
                                                <!-- Inline Checkboxes -->
                                                <input id="demo-form-inline-checkbox-6" class="magic-checkbox"
                                                       type="checkbox" checked="">
                                                <label for="demo-form-inline-checkbox-6">草稿</label>
                                                <input id="demo-form-inline-checkbox-7" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-7">审核通过</label>
                                                <input id="demo-form-inline-checkbox-8" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-8">审批失败</label>
                                                <input id="demo-form-inline-checkbox-9" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-9">作废</label>
                                                <input id="demo-form-inline-checkbox-10" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-10">发布</label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3">
                                        <div class="form-group">
                                            <label class="control-label">功能需求名称</label>
                                            <input type="text" class="form-control">
                                        </div>
                                    </div>
                                    <div class="col-sm-3">
                                        <div class="form-group">
                                            <label class="control-label">功能需求状态</label>
                                            <div class="checkbox">
                                                <!-- Inline Checkboxes -->
                                                <input id="demo-form-inline-checkbox-11" class="magic-checkbox"
                                                       type="checkbox" checked="">
                                                <label for="demo-form-inline-checkbox-11">草稿</label>
                                                <input id="demo-form-inline-checkbox-12" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-12">审核通过</label>
                                                <input id="demo-form-inline-checkbox-13" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-13">审批失败</label>
                                                <input id="demo-form-inline-checkbox-14" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-14">作废</label>
                                                <input id="demo-form-inline-checkbox-15" class="magic-checkbox"
                                                       type="checkbox">
                                                <label for="demo-form-inline-checkbox-15">发布</label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!--===================================================-->
                            <!--End Block Styled Form -->
                        </div>
                    </div>
                </div>
                <div class="panel">
                    <!--Data Table-->
                    <!--===================================================-->
                    <div class="panel-body">
                        <div class=" form-inline">
                            <div class="row">
                                <div class="col-sm-6 table-toolbar-left">
                                    <button id="demo-btn-addrow" class="demo-pil-arrow-left btn btn-success" onclick="location.href='product-info-create.html'"><i class="demo-pli-add"></i>创建产品
                                    </button>
<!--                                    <button class="btn btn-default"><i class="demo-pli-printer"></i></button>-->
<!--                                    <div class="btn-group">-->
<!--                                        <button class="btn btn-default"><i class="demo-pli-exclamation"></i></button>-->
<!--                                        <button class="btn btn-default"><i class="demo-pli-recycling"></i></button>-->
<!--                                    </div>-->
                                </div>
<!--                                <div class="col-sm-6 table-toolbar-right">-->
<!--                                    <div class="form-group">-->
<!--                                        <input id="demo-input-search2" type="text" placeholder="Search"-->
<!--                                               class="form-control" autocomplete="off">-->
<!--                                    </div>-->
<!--                                    <div class="form-group">-->
<!--                                        <input id="demo-input-search3" type="text" placeholder="Search"-->
<!--                                               class="form-control" autocomplete="off">-->
<!--                                    </div>-->
<!--                                    <div class="form-group">-->
<!--                                        <input id="demo-input-search4" type="text" placeholder="Search"-->
<!--                                               class="form-control" autocomplete="off">-->
<!--                                    </div>-->
<!--                                    <div class="btn-group">-->
<!--                                        <button class="btn btn-default"><i class="demo-pli-download-from-cloud"></i>-->
<!--                                        </button>-->
<!--                                        <div class="btn-group dropdown">-->
<!--                                            <button data-toggle="dropdown" class="btn btn-default dropdown-toggle">-->
<!--                                                <i class="demo-pli-gear"></i>-->
<!--                                                <span class="caret"></span>-->
<!--                                                <span class="caret"></span>-->
<!--                                            </button>-->
<!--                                            <ul role="menu" class="dropdown-menu dropdown-menu-right">-->
<!--                                                <li>-->
<!--                                                    <a href="#">Action</a>-->
<!--                                                </li>-->
<!--                                                <li>-->
<!--                                                    <a href="#">Another action</a>-->
<!--                                                </li>-->
<!--                                                <li>-->
<!--                                                    <a href="#">Something else here</a>-->
<!--                                                </li>-->
<!--                                                <li class="divider"></li>-->
<!--                                                <li>-->
<!--                                                    <a href="#">Separated link</a>-->
<!--                                                </li>-->
<!--                                            </ul>-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->
                            </div>
                        </div>
                        <div class="table-responsive">
                            <table class="table table-striped table-hover table-bordered">
                                <thead>
                                <tr>
                                    <th>产品名称</th>
                                    <th>产品代号</th>
                                    <th>产品状态</th>
                                    <th>业务流程状态</th>
                                    <th>业务流程操作</th>
                                    <th>功能需求状态</th>
                                    <th>功能需求操作</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr v-for="productInfo in productInfoList">
                                    <!--产品名称-->
                                    <td @click="toProductInfoDetail(productInfo.code)"><a class="btn-link">{{productInfo.name}}(点击查看详情)</a></td>
                                    <!--产品代号-->
                                    <td>{{productInfo.codeName}}</td>
                                    <!--产品信息状态-->
                                    <td v-if="productInfo.status=='1'">草稿</td>
                                    <td v-if="productInfo.status=='2'">待审核</td>
                                    <td v-if="productInfo.status=='3'">审核通过</td>
                                    <td v-if="productInfo.status=='4'">审核失败</td>
                                    <td v-if="productInfo.status=='8'">已作废</td>
                                    <td v-if="productInfo.status=='9'">已发布</td>
                                    <!--业务流程状态-->
                                    <td v-if="productInfo.bizFlowStatus=='0'">未制作</td>
                                    <td v-if="productInfo.bizFlowStatus=='1'">草稿</td>
                                    <td v-if="productInfo.bizFlowStatus=='2'">待审核</td>
                                    <td v-if="productInfo.bizFlowStatus=='3'">审核通过</td>
                                    <td v-if="productInfo.bizFlowStatus=='4'">审核失败</td>
                                    <td v-if="productInfo.bizFlowStatus=='8'">已作废</td>
                                    <!--业务流程操作-->
                                    <td v-if="productInfo.bizFlowStatus=='0'"><button class="btn-sm btn btn-info" @click="toProductBizCreate(productInfo.code)">创建业务流程</button></td>
                                    <td v-if="productInfo.bizFlowStatus=='1'">
                                        <button class="btn-sm btn btn-info" @click="toProductBizEdit(productInfo.code)">修改</button>
                                        <button class="btn-sm btn btn-info">删除</button>
                                    </td>
                                    <td v-if="productInfo.bizFlowStatus=='2'"><button class="btn-sm btn btn-info" @click="toProductBizApproval(productInfo.code)">审核</button></td>
                                    <td v-if="productInfo.bizFlowStatus=='3'"><button class="btn-sm btn btn-info" @click="toProductBizDetail(productInfo.code)">查看详情</button></td>
                                    <td v-if="productInfo.bizFlowStatus=='4'">
                                        <button class="btn-sm btn btn-info" @click="toProductBizDetail(productInfo.code)">查看详情</button>
                                        <button class="btn-sm btn btn-info" @click="toProductBizRevise(productInfo.code)">修订</button>
                                        <button class="btn-sm btn btn-info" @click="productBizAbort(productInfo.code)">作废</button>
                                    </td>
                                    <td v-if="productInfo.bizFlowStatus=='8'">

                                    </td>
                                    <!--功能需求状态-->
                                    <td v-if="productInfo.pdInfoReqsStatus=='0'">未制作</td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='1'">草稿</td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='2'">待审核</td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='3'">审核通过</td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='4'">审核失败</td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='8'">已作废</td>
                                    <!--功能需求操作-->
                                    <td v-if="productInfo.pdInfoReqsStatus=='0'"><button class="btn-sm btn btn-info" @click="toProductReqsCreate(productInfo.code)">创建功能需求</button></td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='1'">
                                        <button class="btn-sm btn btn-info" @click="toProductReqsEdit(productInfo.code)">修改</button>
                                        <button class="btn-sm btn btn-info">删除</button>
                                    </td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='2'">
                                        <button class="btn-sm btn btn-info" @click="toProductReqsApproval(productInfo.code)">审核</button>
                                    </td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='3'">
                                        <button class="btn-sm btn btn-info" @click="toProductReqsDetail(productInfo.code)">查看详情</button></td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='4'">
                                        <button class="btn-sm btn btn-info" @click="toProductReqsDetail(productInfo.code)">查看详情</button>
                                        <button class="btn-sm btn btn-info" @click="toProductReqsRevise(productInfo.code)">修订</button>
                                        <button class="btn-sm btn btn-info" @click="productReqsAbort(productInfo.code)">作废</button>
                                    </td>
                                    <td v-if="productInfo.pdInfoReqsStatus=='8'">

                                    </td>
                                    <!--产品信息操作-->
                                    <td v-if="productInfo.status=='1'">
                                        <button class="btn-sm btn btn-info" @click="toProductInfoEdit(productInfo.code)">修改</button>
                                        <button class="btn-sm btn btn-info">删除</button>
                                    </td>
                                    <td v-if="productInfo.status=='2'"><button class="btn-sm btn btn-info" @click="toProductInfoApproval(productInfo.code)">审核</button></td>
                                    <td v-if="productInfo.status=='3' && productInfo.bizFlowStatus=='3' && productInfo.pdInfoReqsStatus=='3'">
                                        <button class="btn-sm btn btn-info" @click="publish(productInfo.code)">发布</button>
                                    </td>
                                    <td v-if="productInfo.status=='4'">
                                        <button class="btn-sm btn btn-info" @click="toProductInforevise(productInfo.code)">修订</button>
                                        <button class="btn-sm btn btn-info" @click="abort(productInfo.code)">作废</button>
                                    </td>
                                    <td v-if="productInfo.status=='9'">
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="panel-footer text-right">
                            <!--分页 -->
                            <ul class="pagination">
                                <li><a href="#" class="demo-pil-arrow-left btn btn-success" @click="findPage(1)">首页</a></li>
                                <li v-for="pageNum in total" @click="findPage(pageNum)"><a href="#" class="btn btn-success">{{pageNum}}</a></li>
                                <li><a href="#" class="demo-pil-arrow-right btn btn-success" @click="findPage(total)">末页</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <!--===================================================-->
            <!--End page content-->
        </div>
        <!--===================================================-->
        <!--END CONTENT CONTAINER-->


        <!--ASIDE-->
        <!--============侧边悬浮区域===============-->
        <aside id="aside-container">
            <div id="aside">
                <div class="nano">
                    <div class="nano-content">


                    </div>
                </div>
            </div>
        </aside>
        <!--===================================================-->
        <!--END ASIDE-->


        <!--MAIN NAVIGATION-->
        <!--===================================================-->
        <mainnav></mainnav>
    </div>


    <!-- FOOTER -->
    <!--脚步区域-->
    <footer id="footer">

        <!-- Visible when footer positions are fixed -->
        <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <div class="show-fixed pad-rgt pull-right">
            You have <a href="#" class="text-main"><span class="badge badge-danger">3</span> pending action.</a>
        </div>


        <!-- Visible when footer positions are static -->
        <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <div class="hide-fixed pull-right pad-rgt">
            14GB of <strong>512GB</strong> Free.
        </div>


        <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <!-- Remove the class "show-fixed" and "hide-fixed" to make the content always appears. -->
        <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

        <p class="pad-lft">&#0169; 2018 Your Company</p>
    </footer>
    <!--===================================================-->
    <!-- END FOOTER -->

    <!-- SCROLL PAGE BUTTON -->
    <!--======滚动顶部按钮=======-->
    <button class="scroll-top btn">
        <i class="pci-chevron chevron-up"></i>
    </button>
</div>
<!--===================================================-->
<!-- END OF CONTAINER -->

<!--JAVASCRIPT-->
<!--jQuery [ 必须的 ]-->
<script src="../../../js/jquery.min.js"></script>
<!--BootstrapJS [ 必须的 ]-->
<script src="../../../js/bootstrap.min.js"></script>
<!--NiftyJS [ 必须 ]-->
<script src="../../../js/nifty.min.js"></script>
<!--=================================================-->
<!--&lt;!&ndash;Demo script [ demo示例使用 ]&ndash;&gt;-->
<!--<script src="../../../js/demo/nifty-demo.min.js"></script>-->
<!-- 开发环境版本，包含了有帮助的命令行警告 -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<!--组件导航条-->
<script src="../../../js/component/header.js"></script>
<!--组件导航栏-->
<script src="../../../js/component/mainnav.js"></script>
<!--axios-->
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>


<script>
    var vue=new Vue({
        el:"#container",
        data: {
            productInfoList:[],
            page:1,
            size:3,
            total:0,
            productInfo:{},
            status:["","草稿","待审核","审核通过","审核失败","","","","已作废","发布"],//产品信息
            bizFlowStatus:["未制作","草稿","待审核","审核通过","审核失败"],//业务流程状态
            pdInfoReqsStatus:["未制作","草稿","待审核","审核通过","审核失败","已作废"],//功能需求状态
        },
        methods:{
            findPage(page){
                if (page != undefined) {
                    this.page = page;
                }
                axios.post("http://127.0.0.1:8080/project/product-info/findPage/"+this.page+"/"+this.size).then(res=>{
                    vue.total=Math.ceil(res.data.total/this.size);
                    vue.productInfoList=res.data.records;
                })
            },
            toProductInfoDetail(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="product-info-detail.html";
            },
            toProductInfoEdit(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="product-info-edit.html";
            },
            toProductInfoApproval(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="product-info-approval.html";
            },
            toProductInforevise(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="product-info-revise.html";
            },
            abort(code){
                alert(1);
                vue.productInfo.code=code;
                alert(vue.productInfo.code);
                axios.get("http://127.0.0.1:8080/project/product-info/abort/"+vue.productInfo.code).then(res=>{
                    if(res){
                        alert("产品基本信息作废成功!");
                        location.href="product-info-list.html";
                    }
                })
            },
            //业务流程相关
            toProductBizCreate(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-biz/product-biz-create.html";
            },
            toProductBizEdit(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-biz/product-biz-edit.html";
            },
            toProductBizApproval(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-biz/product-biz-approval.html";
            },
            toProductBizDetail(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-biz/product-biz-detail.html";
            },
            toProductBizRevise(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-biz/product-biz-revise.html";
            },
            productBizAbort(code){
                vue.productInfo.code=code;
                alert(vue.productInfo.code);
                axios.get("http://127.0.0.1:8080/project/product-info-biz-flow-info/abort/"+vue.productInfo.code).then(res=>{
                    if(res){
                        alert("业务流程作废成功!");
                        location.href="product-info-list.html";
                    }
                })

            },
            //功能相关
            toProductReqsCreate(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-reqs/product-reqs-create.html";
            },
            toProductReqsEdit(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-reqs/product-reqs-edit.html";
            },
            toProductReqsApproval(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-reqs/product-reqs-approval.html";
            },
            toProductReqsDetail(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-reqs/product-reqs-detail.html";
            },
            toProductReqsRevise(code){
                vue.productInfo.code=code;
                alert(code);
                localStorage.setItem("productInfoCode",this.productInfo.code);
                location.href="../product-reqs/product-reqs-revise.html";
            },
            productReqsAbort(code){
                vue.productInfo.code=code;
                alert(vue.productInfo.code);
                axios.get(`http://127.0.0.1:8080/project/pd-info-reqs/abort/`+vue.productInfo.code).then(res=>{
                    if(res){
                        alert("功能需求作废成功!");
                        location.href="product-info-list.html";
                    }
                })
            },
            publish(code){
                vue.productInfo.code=code;
                alert(vue.productInfo.code);
                axios.get(`http://127.0.0.1:8080/project/product-info/publish/`+vue.productInfo.code).then(res=>{
                    if(res){
                        alert("产品发布成功!");
                        location.href="product-info-list.html";
                    }
                })
            }
        },
        created(){
            this.findPage();
        }
    })
</script>

</body>
</html>
